package com.zzh.rabbit;

import android.os.Bundle;
import android.os.PersistableBundle;

import com.zzh.mvvm.base.BaseRabbitActivity;
import com.zzh.rabbit.databinding.ActThreeBinding;

import androidx.annotation.Nullable;

import static com.zzh.rabbit.HLog.l_life;

/**
 * Created by ZZH on 2022/6/2.
 *
 * @Date: 2022/6/2
 * @Email: zzh_hz@126.com
 * @QQ: 1299234582
 * @Author: zzh
 * @Description:
 */
public class ThreeAct extends BaseRabbitActivity<ThreeViewModel, ActThreeBinding> {
    @Override
    protected void initViewAndData(Bundle savedInstanceState) {

    }

    @Override
    protected int initVariableId() {
        return 0;
    }

    @Override
    protected ActThreeBinding initViewBinding(Bundle savedInstanceState) {
        return ActThreeBinding.inflate(getLayoutInflater());
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        l_life("-----ThreeAct-onCreate");
    }

    @Override
    protected void onPostCreate(@Nullable Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
        l_life("-----ThreeAct-onPostCreate");
    }

    @Override
    protected void onPostResume() {
        super.onPostResume();
        l_life("-----ThreeAct-onPostResume");
    }

    @Override
    protected void onStart() {
        super.onStart();
        l_life("-----ThreeAct-onStart");
    }

    @Override
    protected void onStop() {
        super.onStop();
        l_life("-----ThreeAct-onStop");
    }

    @Override
    protected void onPause() {
        super.onPause();
        l_life("-----ThreeAct-onPause");
    }

    @Override
    protected void onResume() {
        super.onResume();
        l_life("-----ThreeAct-onResume");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        l_life("-----ThreeAct-onRestart");
    }

    @Override
    public void onPostCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle persistentState) {
        super.onPostCreate(savedInstanceState, persistentState);
        l_life("-----ThreeAct-onPostCreate");
    }
}
